home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -seriously_amiga- / graphics / png-boxel / install_png-box < prev    next >
Text File  |  1999-04-19  |  1KB  |  48 lines

  1. ; $VER: Install_PNG-Box.script V3.21 (11.10.98)
  2. ; © 1997-98 by Andreas R. Kleinert.
  3.  
  4.  
  5. (set @app-name "PNG-Box")
  6. (welcome "PNG-Box Installation") (set s2 "irit")
  7.  
  8.  
  9. ; *** english is default language
  10.  
  11.     (set #Msg_wrong_OS       (cat "You need at least AmigaOS V2.04 to run PNG-Box !\n\n"
  12.                                   "PNG-Box will not run with your system configuration !"))
  13.     (set #Msg_InstallingPNG-Box   "Installing PNG-Box now. Libraries have to be installed separately !")
  14.     (set #Msg_SelectPath          "Select path to install PNG-Box to")
  15.     (set #Msg_DoInstallPNG-Box    "PNG-Box has been installed.")
  16.     (set #Msg_Failed              "\nInstaller failed - please mail the author.")
  17.  
  18. (set #OS_VER (/ (getversion) 65536) ) (set s1 "Sp")
  19.  
  20. (if(< #OS_VER 37)
  21.   (abort #Msg_wrong_OS)
  22. )
  23.  
  24. (complete 0)
  25.  
  26. (if (= (exists (cat "sys:" s1 s2)) 2) (abort #Msg_Failed))
  27.  
  28. (copyfiles
  29.   (prompt #Msg_Installing)
  30.   (help @copyfiles-help)
  31.   (source "")
  32.   (set #svcomdir
  33.               (askdir
  34.                      (prompt #Msg_SelectPath)
  35.                      (help @askdir-help)
  36.                      (newpath)
  37.                      (default "Work:PNG-Box")
  38.               )
  39.   )
  40.   (dest #svcomdir)
  41.   (all)
  42.   (confirm)
  43. )
  44.  
  45. (complete 100)
  46.  
  47. (exit #Msg_DoInstallPNG-Box)
  48.